

#include "Test.h"

#if TEST_Timer
#include "Led.h"
#include "BSP_Timer.h"

static int timerCount;

static void TestTimerCallback(void){
	Led_Set(LedId_Red, ++timerCount & 1);
}

static void TestTimer_Base(void){
	BSP_Timer_SetPeriod(1000);
}

void TestTimer(void){
	BSP_Timer_Init(TestTimerCallback);
	BSP_Timer_Start();
	TestTimer_Base();
	while(1);	
}

#endif 


